<?php

namespace app\admin\http\middleware;
//定义中间件
class Auth
{
    public function handle($request, \Closure $next)
    {
//        if($request->controller() == 'test' || $request->action() == 'test'){
//            return 1;die;
//        }
        return $next($request);
    }
}
